From: Ray Strode Date: Mon, 11 Mar 2013 15:37:01 +0000 (-0400) Subject: recorder: don't bother selecting for enter/leave/motion events X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4505 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e80795b7f0b6aec4f76b6a3fda35d7c9ecf3d848;p=gnome-shell.git recorder: don't bother selecting for enter/leave/motion events Mutter already handles that for us. https://bugzilla.gnome.org/show_bug.cgi?id=695324 --- diff --git a/src/shell-recorder.c b/src/shell-recorder.c index 0f6a6fbb5..f2bd68639 100644 --- a/src/shell-recorder.c +++ b/src/shell-recorder.c @@ -764,14 +764,6 @@ recorder_get_initial_cursor_position (ShellRecorder *recorder) XUngrabServer(xdisplay); XFlush(xdisplay); - - /* While we are at it, add mouse events to the event mask; they will - * be there for the stage windows that Clutter creates by default, but - * maybe this stage was created differently. Since we've already - * retrieved the event mask, it's almost free. - */ - XSelectInput(xdisplay, xwindow, - xwa.your_event_mask | EnterWindowMask | LeaveWindowMask | PointerMotionMask); } /* When the cursor is not over the stage's input area, we query for the